0495e83e6ed163475841cf1cd6be62ee6796e618,portal-impl/src/com/liferay/portal/staging/StagingImpl.java,StagingImpl,enableRemoteStaging,#number#number#number#boolean#boolean#String#number#number#boolean#ServiceContext#,455

Before Change


				serviceContext.getUserId(), liveGroup.getGroupId(), false,
				LayoutSetBranchConstants.MASTER_BRANCH_NAME,
				LayoutSetBranchConstants.MASTER_BRANCH_NAME.concat(
					" branch of ").concat(liveGroup.getDescriptiveName()),
				serviceContext);
		}

		if (branchingPrivate) {
			LayoutSetBranchLocalServiceUtil.addLayoutSetBranch(
				serviceContext.getUserId(), liveGroup.getGroupId(), true,
				LayoutSetBranchConstants.MASTER_BRANCH_NAME,
				LayoutSetBranchConstants.MASTER_BRANCH_NAME.concat(
					" branch of ").concat(liveGroup.getDescriptiveName()),
				serviceContext);
		}
	}

After Change


		}

		if (branchingPrivate) {
			Locale defaultLocale = LocaleUtil.getDefault();

			String description = LanguageUtil.format(
				defaultLocale,
				LayoutSetBranchConstants.MASTER_BRANCH_DESCRIPTION,
				liveGroup.getDescriptiveName());

			LayoutSetBranchLocalServiceUtil.addLayoutSetBranch(
				serviceContext.getUserId(), liveGroup.getGroupId(), true,
				LayoutSetBranchConstants.MASTER_BRANCH_NAME,
				description, serviceContext);
		}
	}